package icu.qx.wm.service;

import java.util.List;

import icu.qx.wm.domain.WmProductReceipt;
import icu.qx.wm.vo.ProWorkOrderVo;

/**
 * 产品入库单Service接口
 *
 * @author ruoyi
 * &#064;date  2024-06-17
 */
public interface IWmProductReceiptService {
    /**
     * 查询产品入库单
     *
     * @param prCode 产品入库单主键
     * @return 产品入库单
     */
    WmProductReceipt selectWmProductReceiptByPrCode(String prCode);

    /**
     * 查询产品入库单列表
     *
     * @param wmProductReceipt 产品入库单
     * @return 产品入库单集合
     */
    List<WmProductReceipt> selectWmProductReceiptList(WmProductReceipt wmProductReceipt);

    /**
     * 新增产品入库单
     *
     * @param wmProductReceipt 产品入库单
     * @return 结果
     */
    int insertWmProductReceipt(WmProductReceipt wmProductReceipt);

    /**
     * 修改产品入库单
     *
     * @param wmProductReceipt 产品入库单
     * @return 结果
     */
    int updateWmProductReceipt(WmProductReceipt wmProductReceipt);

    /**
     * 产品入库
     *
     * @param wmProductReceipt 产品入库单
     * @return 结果
     */
    int storeWmProductReceipt(WmProductReceipt wmProductReceipt);

    /**
     * 批量删除产品入库单
     *
     * @param prCodes 需要删除的产品入库单主键集合
     * @return 结果
     */
    int deleteWmProductReceiptByPrCodes(String[] prCodes);

    /**
     * 查询工单
     */
    List<ProWorkOrderVo> selectWorkOrder(ProWorkOrderVo proWorkOrderVo);
}
